package com.cloudkinto.service.workOrder;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cloudkinto.bo.workOrder.type.WorkOrderTypeAddBo;
import com.cloudkinto.bo.workOrder.type.WorkOrderTypeQueryBo;
import com.cloudkinto.bo.workOrder.type.WorkOrderTypeUpdateBo;
import com.cloudkinto.entity.WorkOrderTypeDo;
import com.cloudkinto.vo.workOrder.WorkOrderTypeVo;

import java.util.List;

/**
 * <p>
 * 工单类型 service接口
 * </p>
 *
 * @author long
 * @since 2025-01-07
 */
public interface WorkOrderTypeService extends IService<WorkOrderTypeDo> {

    int add(WorkOrderTypeAddBo req);

    boolean update(WorkOrderTypeUpdateBo req);

    List<WorkOrderTypeVo> getList(WorkOrderTypeQueryBo bo);

    boolean updateEnable(Long id);
}
